package com.atguigu.lease.common.minio;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author yjf
 * @version 1.0
 * @description: TODO
 * @date 2024/9/8 22:24
 */
@ConfigurationProperties(prefix = "minio")  //飘红需要在service接口的实现类读取他@EnableConfigurationProperties(MinioProperties.class)
@Data
public class MinioProperties {

    /**
     * 端口
     **/
    private String endpoint;

    /**
     用户名
     **/
    private String accessKey;

    /**
     //密码
     **/
    private String secretKey;

    /**
     //桶名
     **/
    private String bucketName;
}